1 | static void iptables_blockIP(S ip) { |
2 | assertIPv4(ip); |
3 | backtick("iptables -I INPUT -s " + ip + " -j DROP"); |
4 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014018 |
Snippet name: | iptables_blockIP - must be root |
Eternal ID of this version: | #1014018/4 |
Text MD5: | 16d15cb9bbbd0eb8fc393b0ff1c85f58 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-22 17:55:13 |
Source code size: | 114 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 411 / 423 |
Version history: | 3 change(s) |
Referenced in: | [show references] |